import Vue from 'vue'
import App from './App.vue'
// 引入echarts
import * as echarts from 'echarts'
Vue.prototype.$echarts = echarts
Vue.config.productionTip = false

// 统一接口文件api全部请求函数
import * as API from '@/api'

new Vue({
  render: h => h(App),
  beforeCreate(){
    // API挂载vue原型
    Vue.prototype.$API = API;
  },

}).$mount('#app')
